package com.ipDev.moyvSys.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 题目表
 * </p>
 *
 * @author fish
 * @since 2024-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("problem")
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="Problem对象", description="题目表")
public class Problem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "题目内容描述")
    private String description;

    @ApiModelProperty(value = "题目的分数")
    private Integer point;

    @ApiModelProperty(value = "题目的答案")
    private String answer;

    @ApiModelProperty(value = "题目归属于哪一章节")
    private Integer sectionId;

    @ApiModelProperty(value = "0选择题  1非选择题")
    private Integer type;

    @ApiModelProperty(value = "题目带有的图片")
    private String image;

    private Integer status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer createEmp;

    private Integer updateEmp;


}
